package xcu.lxj.nettychat.user.service.inter;

import xcu.lxj.nettychat.common.domain.vo.response.CursorPageBaseResp;
import xcu.lxj.nettychat.user.domain.vo.request.FuzzyMatchCursorPageReq;
import xcu.lxj.nettychat.user.domain.vo.response.UserInfoResp;

/**
 * @Author XinJian Lei
 * @Date 2024/10/2 17:09
 * @Version 1.0
 */public interface UserService {

    /**
     * 查询用户基本信息
     * @param uid 用户id
     * @return 返回 yserinfo 响应体
     */
     public UserInfoResp getUserInfo(Long uid);

    /**
     * 通过name分页查询用户的基本数据
     * @param request
     * @return
     */
    public CursorPageBaseResp<UserInfoResp> getUserInfoByName(FuzzyMatchCursorPageReq request);
}
